package com.doubao.auth.client;

import com.doubao.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "doubao-user-service")
public interface TokenServiceClient {

    @PostMapping("/token/initialize")
    Result<Void> initializeUserTokens(@RequestParam("userId") Long userId);
}